From 490367210b3607b5b14c396c2b135377d325c9a3 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 30 Dec 2010 02:44:26 +0000 Subject: [PATCH] Add function return type hint to wfGetLBFactory More parameter documentation to CloneDatabase --- includes/GlobalFunctions.php | 1 + includes/db/CloneDatabase.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index ff30aa44da..65ccdc1256 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3153,6 +3153,7 @@ function wfGetLB( $wiki = false ) { /** * Get the load balancer factory object + * @return LoadBalaner */ function &wfGetLBFactory() { return LBFactory::singleton(); diff --git a/includes/db/CloneDatabase.php b/includes/db/CloneDatabase.php index f3d413beb0..ae47e76c41 100644 --- a/includes/db/CloneDatabase.php +++ b/includes/db/CloneDatabase.php @@ -130,7 +130,7 @@ class CloneDatabase { } /** - * @param $lb + * @param $lb LoadBalancer * @param $prefix * @return void */ -- 2.20.1